<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="keywords" content="商城页,18001010321,王梓豪">
    <title>商城18001010321</title>
    <link rel="stylesheet" href="../iconfont/bottom_navi/iconfont.css">
    <script src="../iconfont/font_2232293_glnw4va62bs/iconfont.js"></script>
    <link rel="stylesheet" href="../iconfont/store/iconfont.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        img {
            display: block;
            border: none;
        }
        a {
            text-decoration: none;
            color: #000;
        }
        body {
            min-width: 320px;
        }
        ul,ol{
            list-style: none;
        }
        .icon {
            margin-left: 17px;
            margin-top: 7px;
            width: 39px;
            height: 45px;
            vertical-align: -0.15em;
            fill: currentColor;
            overflow: hidden;
        }
        .all {
            overflow: hidden;
            position: relative;
        }
        .navi {
            position: fixed;
            top: 0;
            width: 100%;
            height: 65px;
            /* background-color: greenyellow; */
            z-index: 3;
        }
        .navi_top {
            position: relative;
            height: 65px;
            background-color: #fff;
            display: flex;
        }
        .icon-gouwuche {
            font-size: 30px;
            position: absolute;
            right: 20px;
            top: 16px;
        }
        .navi_top input{
            color: rgb(159, 172, 181);
            position: absolute;
            top: 11px;
            left: 33px;
            outline: none;
            border: none;
            font-size: 17px;
            background-color: rgb(240, 243, 249);
            width: 100px;
        }
        .search{
            position: relative;
            margin-left: 17px;
            margin-top: 13px;
            border-radius: 60px;
            height: 40px;
            width: 150px;
            background-color: rgb(240, 243, 249);
            border: none;
        }
        .fangdajing {
            position: absolute;
            width: 19px;
            height: 18.6px;
            left: -6px;
            top: 6px;
            z-index: 2;
            color: rgb(140, 140, 140);
        }
        
        .focus {
            margin: 0 auto;
            margin-top: 65px;
            width: 85%;
            height: 41vw;
            position: relative;
            /* overflow: hidden; */
        }
        .focus img {
            width: 100%;
            height: 41vw;
        }
        .focus ol {
            position: absolute;
            bottom: 5px;
            right: 43%;
        }
        .focus ol li {
            transition: .1s;
            border-radius: 2px;
            margin-right: 7px;
            float: left;
            width: 10px;
            height: 2px;
            background-color: rgba(200, 200, 200, .7);
            list-style: none;

        }
        .focus ol .current{
            background-color: #fff;
        }
        .focus ul {
            margin-left: -100%;
            display: flex;
            width: 500%;
        }
        .focus ul li {
            margin: 0 5px;
            width: 100%;
        }

        .list {
            border-bottom: 1px solid #eee;
            height: 95px;
            
        }
        .list ul {
            display: flex;
        }
        .list ul li {
            width: 30%;
        }
        .list_top {
            height: 60px;
        } 
        .list_bottom{
            line-height: 35px;
            height: 35px;
            text-align: center;
            color: rgb(140, 140, 140);
        }
        .list_top{
            overflow: hidden;
        }
        .tubiao{
            margin: 0 auto;
            margin-top: 13px;
            height: 43px;
            width: 43px;
            text-align: center;
            background-color: #000;
            border-radius: 30px;
        }
        .tubiao span {
            line-height: 43px;
            font-size: 30px;
            color: #fff;
        }
        .bottom_navi{
            z-index: 100;
            border-top: 1px solid #eee;
            height: 65px;
            width: 100%;
            background-color: #fff;
            position: fixed;
            bottom: 0;
        }
        .bottom_navi ul {
            display: flex;
        }
        .bottom_navi ul li {
            color: rgb(149, 155, 161);
            height: 100%;
            width: 30%;
        }
        .bottom_navi ul li a{
            color: rgb(149, 155, 161);
            height: 100%;
            width: 30%;
        }
        .bottom_navi ul li.bcurr{
            color: #000;
        }
        .tubiao_1{
            line-height: 40px;
            text-align: center;
            height: 40px;
        }
        .naviText {
            font-size: 14px;
            height: 25px;
            text-align: center;
        }
        .tubiao_1 span {
            font-size: 30px;
        }
        .zuixin {
            height: 65vw;
            width: 95%;
            margin: 0 auto;
            border-bottom: 1px solid #eee;
        }
        .zx_top {
            position: relative;
            height: 15vw;
            /* background-color: aqua; */
        }
        .zx_top span:nth-child(1){
            position: absolute;
            left: 5px;
            font-size: 23px;
            line-height: 15vw;
        }
        .zx_top span:nth-child(2){
            line-height: 15vw;
            position: absolute;
            right: 10px;
            color: #ccc;
        }
        .zx_bottom {
            display: flex;
            height: 45vw;
        }
        .zx_bottom_left img {
            border-radius: 5px;
            width: 100%;
            height: 100%;
        }
        .zx_bottom_left{
            position: relative;
            width: 70%;
            margin-right: 1.5vw;
        }
        .zx_bottom_left .dj{
            position: absolute;
            bottom: 34px;
            left: 10px;
            font-size: 17px;
            color: rgb(207, 189, 147);
        }
        .zx_bottom_left .pf{
            position: absolute;
            bottom: 7px;
            left: 10px;
            color: #fff;
            font-size: 20px;
        }
        .zx_bottom_right{
            overflow: hidden;
            width: 35%;
        }
        .zx_bottom_right div:nth-child(1){
            position: relative;
            margin-bottom: 1vw;
            height: 49%;
        }
        .zx_bottom_right div:nth-child(2){
            position: relative;
            margin-top: 1vw;
            height: 49%;
        }
        .zx_bottom_right img {
            border-radius: 5px;
            width: 100%;
            height: 100%;
        }
        .pf1{
            position: absolute;
            bottom: 7px;
            left: 10px;
            color: #fff;
            font-size: 10px;
            width: 90px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }
        .dj1{
            position: absolute;
            bottom: 25px;
            left: 10px;
            color: rgb(207, 189, 147);
            font-size: 10px;
        }
        .tuijian {
            /* height: 65vw; */
            width: 95%;
            margin: 0 auto;
            margin-bottom: 100px;
            border-bottom: 1px solid #eee;
        }
        .tj_top{
            position: relative;
            height: 15vw;
        }
        .tj_top span:nth-child(1){
            position: absolute;
            left: 5px;
            font-size: 23px;
            line-height: 15vw;
        }
        .tj_bottom {
            margin-bottom: 25px;
        }
        .tj_bottom ul li {
            position: relative;
            border-radius: 5px;
            overflow: hidden;
            height: 27vw;
            margin-bottom: 5vw;
        }
        .tj_bottom img {
           height: 54vw;
        }
        .name {
            position: absolute;
            left: 3vw;
            top: 3.6vw;
            color: rgb(207, 189, 147);
            font-size: 4.5vw;
        }
        .money {
            position: absolute;
            left: 3vw;
            top:9vw;
            color: rgb(207, 189, 147);
            font-size: 4.5vw;
        }
        .money .icon-jinbi{
            font-size: 4.5vw;
        }
        .jinbi {
            position: absolute;
            left: 21vw;
            top:9vw;
            color:#ddd;
            font-size: 4.5vw;
        }
        .jinbi .icon-zuanshi {
            font-size: 4.5vw;
        }
        .miaoshu {
            position: absolute;
            left: 3vw;
            top:15vw;
            color: rgb(93, 201, 228);
            font-size: 3vw;
        }
        /* ---------------------- */
    </style>
</head>
<body>
    <div class="all">
        <div class="navi">
            <div class="navi_top">
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-liebiao"></use>
                </svg>
                <div class="search">
                    <svg class="icon fangdajing" aria-hidden="true">
                        <use xlink:href="#icon-fangdajing"></use>
                    </svg>
                    <input type="text" value="搜索商品">
                </div>
                <span class="iconfont icon-gouwuche"></span>
            </div>
        </div>
        <div class="focus">
            <ul></ul>
            <ol></ol>
        </div>
        <div class="list">
            <ul>
                <li>
                    <a href="">
                        <div class="list_top">
                            <div class="tubiao">
                                <span class="iconfont icon-yingxiong"></span>
                            </div>
                        </div>
                        <div class="list_bottom">英雄</div>
                    </a>
                </li>
                <li>
                    <a href="./pifu.html">
                        <div class="list_top">
                            <div class="tubiao">
                                <span class="iconfont icon-mianju"></span>
                            </div>
                        </div>
                        <div class="list_bottom">皮肤</div>
                    </a>
                </li>
                <li>
                    <a href="">
                        <div class="list_top">
                            <div class="tubiao">
                                <span class="iconfont icon-keji1"></span>
                            </div>
                        </div>
                        <div class="list_bottom">海克斯</div>
                    </a>
                </li>
                <li>
                    <a href="">
                        <div class="list_top">
                            <div class="tubiao">
                                <span class="iconfont icon-libao"></span>
                            </div>
                        </div>
                        <div class="list_bottom">礼包</div>
                    </a>
                </li>
                <li>
                    <a href="">
                        <div class="list_top">
                            <div class="tubiao">
                                <span class="iconfont icon-ziyuan"></span>
                            </div>
                        </div>
                        <div class="list_bottom">周边</div>
                    </a>
                </li>
            </ul>
        </div>
        <div class="bottom_navi">
            <ul>
                <li>
                    <div class="tubiao_1">
                        <span class="iconfont icon-zixun"></span>
                    </div>
                    <div class="naviText">资讯</div>                   
                </li>
                <li>
                    <div class="tubiao_1">
                        <span class="iconfont icon-pengyou"></span>
                    </div>
                    <div class="naviText">盟友圈</div>                   
                </li>
                <li>
                    <a href="./friends.html">
                        <div class="tubiao_1">
                            <span class="iconfont icon-xinfeng-copy"></span>
                        </div>
                        <div class="naviText">好友</div>  
                    </a>
                </li>
                <li class="bcurr">
                    <div class="tubiao_1">
                        <span class="iconfont icon-shangcheng"></span>
                    </div>
                    <div class="naviText">商城</div>                   
                </li>
                <li>
                    <div class="tubiao_1">
                        <span class="iconfont icon-woicon"></span>
                    </div>
                    <div class="naviText">我</div>                   
                </li>
            </ul>
        </div>
        <div class="zuixin">
            <div class="zx_top">
                <span>最新上架</span>
                <span>全部 ></span>
            </div>
            <div class="zx_bottom">
                <div class="zx_bottom_left">
                    <img src="../images/暗星女王丽桑卓.jpg">
                    <span class="dj">
                        <span class="iconfont icon-jinbi"></span>
                        7900
                    </span>
                    <span class="pf">暗星女王 丽桑卓</span>
                </div>
                <div class="zx_bottom_right">
                    <div>
                        <img src="../images/狮子星神奈德丽.jpg">
                        <span class="dj1">
                            <span class="iconfont icon-jinbi"></span>
                            7900
                        </span>
                        <span class="pf1">狮子星神 奈德丽</span>
                    </div>
                    <div>
                        <img src="../images/双鱼星神娜美.jpg">
                        <span class="dj1">
                            <span class="iconfont icon-jinbi"></span>
                            7900
                        </span>
                        <span class="pf1">双鱼星神 娜美</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="tuijian">
            <div class="tj_top">
                <span>推荐英雄</span>
            </div>
            <div class="tj_bottom">
                <ul>
                    <!-- <li>
                        <img src="../images/劫.jpg">
                        <span class="name">影流之主 劫</span>
                        <span class="money">
                            <span class="iconfont icon-jinbi"></span>
                            4500
                        </span>
                        <span class="jinbi">
                            <span class="iconfont icon-zuanshi"></span>
                            6300
                        </span>
                        <span class="miaoshu">爷最喜欢</span>
                    </li> -->
                </ul>
            </div>
        </div>
        <div class="x">

        </div>

    </div>

    <script>
        let data1=[{src:"../images/星神.jpg"},
                {src:"../images/波江星神.jpg"},
                {src:"../images/决赛.jpg"}
            ];
        let focus=document.querySelector(".focus ul");
        data1.forEach((v,i)=>{
            let li1=document.createElement("li");
            li1.innerHTML=`<img src="${v.src}">`;
            focus.append(li1);
        });
        
    </script>
    <script>
        let data=[
            {
                src:"../images/劫.jpg",
                name:"影流之主 劫",
                money: 4500,
                jingcui: 6300,
                reason: "爷最喜欢"
            },
            {
                src:"../images/卡萨丁.jpg",
                name:"虚空行者 卡萨丁",
                money: 3000,
                jingcui: 3150,
                reason: "爷最喜欢"
            },
            {
                src:"../images/维克托.jpg",
                name:"机械先驱 维克托",
                money: 3000,
                jingcui: 4800,
                reason: "爷最喜欢"
            }
        ]
        let ul=document.querySelector(".tj_bottom ul");
        console.log(ul);
        data.forEach((v,i)=>{
            let li = document.createElement("li");
            li.innerHTML=`                        <img src="${v.src}">
                        <span class="name">${v.name}</span>
                        <span class="money">
                            <span class="iconfont icon-jinbi"></span>
                            ${v.money}
                        </span>
                        <span class="jinbi">
                            <span class="iconfont icon-zuanshi"></span>
                            ${v.jingcui}
                        </span>
                        <span class="miaoshu">${v.reason}</span>`;
            ul.append(li);
        });
    </script>
    <script>
        let ul1 =document.querySelector(".bottom_navi ul");
        let li1 =ul1.querySelectorAll("li");
        for(var i=0;i<ul1.children.length;i++){
            li1[i].addEventListener("click",function(){
                ul1.querySelector(".bcurr").classList.remove("bcurr");
                this.classList.add("bcurr");
            });
        }
    </script>
    <script src="../js/lunbo.js"></script>
</body>
</html>
